<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>

<%@ page import="javax.portlet.*"%>
<%@ taglib uri="http://java.sun.com/portlet" prefix="portlet"%>

<portlet:defineObjects />

<%-- Using contextPath from request --%>
<script type="text/javascript" src='/${requestScope.contextPath}/scripts/common.js' ></script>


<b>This is page b</b>
<form name="<portlet:namespace/>go" action="<portlet:actionURL/>" method="POST">
    <input type="hidden" name="screenId" value="b"/>
    <input type="hidden" name="eventId" value="default"/>
    <input type="button" name="gotoa" value="Go to page a" 
            onclick='submitAction("<portlet:namespace/>","go","gotoa");'/>   
</form>